package com.digitalgeko.hourreporter;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.TypedValue;
import android.view.View;

import com.digitalgeko.hourreporter.fragments.MainMenuActivity;
import com.korovyansk.android.slideout.SlideoutActivity;

public class FunctionsActivity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.insert_report);
	}
	
	public void sampleButtonClick(View v){
		int width = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 100, getResources().getDisplayMetrics());
		SlideoutActivity.prepare(this, R.id.inner_content, width);
		startActivity(new Intent(this, MainMenuActivity.class));
		overridePendingTransition(0, 0);
	}
	
}
